const defaultState = {
  appName: 'My客户端',
  isMaximize: false,
}
const AppWin = (state = defaultState, action:any) => {
  switch (action.type) {
    case 'REFRESH_WIN_STATE': {
      console.log('refresh win state: ', action);
      return {
        ...state,
        ...action.data
      };
    }
    default: {
      return state;
    }
  }
}

export default AppWin;